﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cofe.Core.Property
{
    /// <summary>
    /// Primary Property Provider represent not exists.
    /// </summary>
    public class NotExistsPropertyProvider : PropertyProviderBase
    {

        NotExistsPropertyProvider(string fullParseName)
            : base(Cofe.Core.PropertyDefinitions.CofeDefinitions)
        {
            this.registerProperties(CofeProperties.FullParseName, () => fullParseName);
            this.registerProperties(CofeProperties.IsExists, () => false);
        }

        public static NotExistsPropertyProvider FromFullParseName(string fileName)
        {
            return new NotExistsPropertyProvider(fileName);
        }
    }
}
